package com.kb.design.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.kb.design.dto.ContractDTO;
import com.kb.design.mapper.postgreSQL.ContractMapper;
import com.kb.design.service.ContractService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;;
import java.util.List;

@Service
@DS("iquotekb")
public class ContractServiceImpl implements ContractService {

    @Resource
    private ContractMapper contractMapper;
    @Override
    public List<ContractDTO> selectByContractNumber(String contractNumber) {
        return contractMapper.selectByContractNumber(contractNumber);
    }
}
